<?php

namespace App\Admin\Renderable;

use Dcat\Admin\Support\LazyRenderable;
use Dcat\Admin\Widgets\Table;
use Faker\Factory;
use App\Admin\Controllers\DeviceController;
use Dcat\Admin\Widgets\Form;
use Dcat\Admin\Admin;




class RecordTable extends LazyRenderable
{

     public function render()
    {
     
        $type = $this->record;
       
        $data = [
             ['历史记录' => '历史记录','value' =>$type]
        ];

        return Table::make(['历史记录', '内容'], $data);
     }
 }